.class public Lcom/esfile/screen/recorder/picture/picker/adapter/a;
.super Landroid/widget/BaseAdapter;
.source "MediaDirectoryListAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/picture/picker/adapter/a$a;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/picture/picker/entity/b;",
            ">;"
        }
    .end annotation
.end field

.field private c:I

.field private d:I

.field private e:I


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;III)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Lcom/esfile/screen/recorder/picture/picker/entity/b;",
            ">;III)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 2
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->b:Ljava/util/List;

    .line 3
    iput-object p2, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->b:Ljava/util/List;

    .line 4
    iput-object p1, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->a:Landroid/content/Context;

    .line 5
    iput p3, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->c:I

    .line 6
    iput p4, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->d:I

    .line 7
    iput p5, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->e:I

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/picture/picker/adapter/a;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->a:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/picture/picker/adapter/a;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->e:I

    return p0
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/picture/picker/adapter/a;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->c:I

    return p0
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/picture/picker/adapter/a;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->d:I

    return p0
.end method


# virtual methods
.method public getCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->b:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getItem(I)Lcom/esfile/screen/recorder/picture/picker/entity/b;
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/entity/b;

    return-object p1
.end method

.method public bridge synthetic getItem(I)Ljava/lang/Object;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->getItem(I)Lcom/esfile/screen/recorder/picture/picker/entity/b;

    move-result-object p1

    return-object p1
.end method

.method public getItemId(I)J
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/entity/b;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/picker/entity/b;->hashCode()I

    move-result p1

    int-to-long v0, p1

    return-wide v0
.end method

.method public getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 2

    if-nez p2, :cond_0

    .line 1
    invoke-virtual {p3}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object p2

    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    .line 2
    sget v0, Les/y4;->__picker_item_directory:I

    const/4 v1, 0x0

    invoke-virtual {p2, v0, p3, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p2

    .line 3
    new-instance p3, Lcom/esfile/screen/recorder/picture/picker/adapter/a$a;

    invoke-direct {p3, p0, p2}, Lcom/esfile/screen/recorder/picture/picker/adapter/a$a;-><init>(Lcom/esfile/screen/recorder/picture/picker/adapter/a;Landroid/view/View;)V

    .line 4
    invoke-virtual {p2, p3}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    goto :goto_0

    .line 5
    :cond_0
    invoke-virtual {p2}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/esfile/screen/recorder/picture/picker/adapter/a$a;

    .line 6
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/picture/picker/adapter/a;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/esfile/screen/recorder/picture/picker/entity/b;

    invoke-virtual {p3, p1}, Lcom/esfile/screen/recorder/picture/picker/adapter/a$a;->a(Lcom/esfile/screen/recorder/picture/picker/entity/b;)V

    return-object p2
.end method
